package com.njupt.yanglonglong.report.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njupt.yanglonglong.report.demo.dto.CourseTeacherInfoDto;
import com.njupt.yanglonglong.report.demo.entity.Course;
import com.njupt.yanglonglong.report.demo.entity.RCourseTeacher;
import org.apache.catalina.User;

import java.util.List;

/**
 * @className: RCourseTeacherService
 * @Description:
 * @author: lpl
 * @date: 2021/4/27 22:14
 */
public interface RCourseTeacherService extends IService<RCourseTeacher> {

    int deleteByTCId(RCourseTeacher rCourseTeacher);

    List<Course> getTeacherCourse(String teacherId);

    List<CourseTeacherInfoDto> queryOpenedCourses(String stuId);

    boolean updateByCourseIdTeacherId(RCourseTeacher rCourseTeacher);
}
